package com.song.mall.product.vo;

import com.song.mall.product.entity.SkuImagesEntity;
import com.song.mall.product.entity.SkuInfoEntity;
import com.song.mall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * @author 宋超
 * HP - the login name of the current user.
 * 2021/10/2 - the current system date.
 * 15:48 - the current system time.
 */
@Data
public class SkuItemVo {

    //1.sku基本信息获取  pms_sku_info表
    SkuInfoEntity info;

    boolean hasStock = true;  //是否有货

    //2.sku的图片信息 pms_sku_images表
    List<SkuImagesEntity> images;

    //3、获取spu的销售属性组合
    List<SkuItemSaleAttrsVo> saleAttr;

    //4.获取spu的介绍 pms_spu_info_desc
    SpuInfoDescEntity desp;

    //5.获取spu的规格参数信息
    List<SpuItemAttrGroupVo> groupAttrs;

    //当前商品的秒杀优惠信息
    SeckillInfoVo seckillInfo;

}

